From: Jim Blandy Date: Tue, 29 Jun 1993 22:46:26 +0000 (+0000) Subject: * keyboard.c (read_char): Don't do idle autosaves if we're not X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95140 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=26c1639eb6a82de2bbf86af602569b83e90daeac;p=emacs.git * keyboard.c (read_char): Don't do idle autosaves if we're not interactive. --- diff --git a/src/keyboard.c b/src/keyboard.c index 4271f6c9df8..52e283ab789 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1445,7 +1445,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) /* Slow down auto saves logarithmically in size of current buffer, and garbage collect while we're at it. */ - if (NILP (c)) + if (INTERACTIVE && NILP (c)) { int delay_level, buffer_size;